<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
  <head>
  <!-- 这个页面中不要包含有js!!! -->
  </head>  
  <body>
  	<!-- 验证还是jquery-validation好用，这里省事没用 -->
	<form class="auform" id="adminForm" method="post">
		<input type="hidden" name="adminId" id="adminId" />
		<input type="hidden" name="adminPassword" id="adminPassword" />
		<input type="hidden" name="status" id="status" />
		<input type="hidden" name="createId" id="createId" />
		<input type="hidden" name="createName" id="createName" />
		<input type="hidden" name="createTime" id="createTime" />
		<input type="hidden" name="loginTime" id="loginTime" />
		<table class="autable">
			<tr>
				<td class="autd1" style="width:130px">用户名：</td>
				<td class="autd2"><input name="adminName" style="width:150px" validType="length[2,20]" class="easyui-validatebox txt" required="true"><span class="red">*</span></td>
			</tr>
			<tr>
				<td class="autd1">姓名：</td>
				<td class="autd2"><input name="trueName" style="width:150px" validType="length[1,20]" class="easyui-validatebox txt" required="true"><span class="red">*</span></td>
			</tr>
			<tr>
				<td class="autd1">部门：</td>
				<td class="autd2"><input name="depart" style="width:150px" validType="length[1,20]" class="easyui-validatebox txt" required="true"><span class="red">*</span></td>
			</tr>
			<tr>
				<td class="autd1">角色：</td>
				<td class="autd2"><input name="roleId" id="roleId" style="width:150px" ><span class="red">*</span></td>
			</tr>
			<tr>
				<td class="autd1">联系电话：</td>
				<td class="autd2"><input name="tel" style="width:150px" validType="length[1,15]" class="easyui-validatebox txt" required="true"><span class="red">*</span></td>
			</tr>
			<tr>
				<td class="autd1">账号有效开始时间：</td>
				<td class="autd2"><input name="validBeginTime" style="width:150px" class="easyui-datebox" required="true" editable="false"><span class="red">*</span></td>
			</tr>
			<tr>
				<td class="autd1">账号有效结束时间：</td>
				<td class="autd2"><input name="validEndTime" style="width:150px" class="easyui-datebox" required="true" editable="false"><span class="red">*</span></td>
			</tr>
			<tr>
				<td class="autd1">备注：</td>
				<td class="autd2"><textarea name="remark"  class="txtarea" style="height: 100px;width: 300px;"></textarea></td>
			</tr>
			<tr>
				<td class="autd3" colspan="4">
					<a href="#" id="btn-back" onclick="$('#MyPopWindow').window('close');" class="easyui-linkbutton" iconCls="icon-cancel">取消</a>
					<a href="#" id="btn-add" onclick="addOrUpdate('${param.update}');" class="easyui-linkbutton" iconCls="icon-save">保存</a>
				</td>
			</tr>
		</table>
	</form>
  </body>
</html>
